/**
 * 
 */
package com.fg.dao;

import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.fg.model.TestModel;



/**
 * @Package	: com.tp.dao
 * @File 	: MemberDao.java
 *
 * @Author 	: JosephChoi
 * @Date	: 2011. 8. 9.
 * @Version : 
 * @Comment	: Member Table DAO
 *
 */
public class TestDao extends SqlMapClientDaoSupport {
	
	/**
	 * @Comment	: Test 테이블에서 TestModel을 뽑아옴
	 * @param email
	 * @return TestModel
	 * @throws Exception
	 */
	public TestModel getTestFromEmail(String email) throws Exception{
		return (TestModel)getSqlMapClientTemplate().queryForObject("testQueries.getTestFromEmail", email);
	}
	
}
